import { request } from '../network/request.js'
export default ({
  state: {
    arr: [],

  },
  mutations: {
  },
  actions: {
    async register(context,user) {
      const msg = await request({
        url: "/register",
        method: "post",
       data: user

      });
      console.log(msg);
    },

  }, modules: {

  }
})